﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BankAccountNS;

namespace BankTests
{
    [TestClass]
    public class BankAccountTests
    {
        [TestMethod]
        public void Debit_WithValidAmount_UpdatesBalance()
        {
            // arrange
             int[] array = { 4, 3, 1, 2 };
             int[] array2 = new int[array.Length];
             int[] array3 = { 1, 2, 3, 4 };

            // act
            BankAccount aaa = new BankAccount();
            array2 = aaa.BubbleSortArray(array);

            // assert
            for (int i = 0; i < array3.Length; i++)
            {
                Assert.AreEqual(array3[i], array[i], "Correctly");
            }
        }
    }
}
